import http from '../utils/request'
// 班级封装的接口
// 班级列表
const classList =(data:any)=>{
    return http.get("classes/list",data)
}
// 班级添加
const classAdd =(data:any)=>{
    return http.post("classes/add",data)
}
// 班级删除
const classDelone =(data:any)=>{
    return http.get("classes/delete",data)
}
// 班级披删
const classDelall =(data:any)=>{
    return http.post("classes/deleteall",data)
}
//获取部门列表
const departmentList =(data:any)=>{
    return http.post("department/list",data)
}
export default{
    classList,
    classAdd,
    classDelone,
    classDelall,
    departmentList
}